With the 'armormaterial' attribute, you can set the armor's material. It sets the enchantability and the damage reduce amount
Valid values are 'cloth', 'chain', 'iron', 'gold' and 'diamond'.
Default value: 'cloth'
armormaterial="cloth";
armormaterial="gold";